import { useAlertStore } from "@/stores/alert-store";

// 弹出普通消息提示窗
export function alertInfo(message) {
	useAlertStore().alert('primary', message)
}

// 弹出成功消息提示窗
export function alertSuccess(message) {
	useAlertStore().alert('success', message)
}

// 弹出异常消息提示窗
export function alertError(message) {
	useAlertStore().alert('error', message)
}